.nav-links.sub-nav
  %ul{ class: (container_class) }

    - content_for :page_specific_javascripts do
      = page_specific_javascript_tag('lib/chart.js')
      = page_specific_javascript_tag('graphs/graphs_bundle.js')
    = nav_link(action: :show) do
      = link_to '贡献者', namespace_project_graph_path
    = nav_link(action: :commits) do
      = link_to '提交', commits_namespace_project_graph_path
    = nav_link(action: :languages) do
      = link_to '语言', languages_namespace_project_graph_path
    - if @project.builds_enabled?
      = nav_link(action: :ci) do
        = link_to ci_namespace_project_graph_path do
          持续集成
